import { zrRequest } from "./index"

// 检测项目详情
export function queryProjectDetail(id){
  return zrRequest.get({
    url: `detect/project/${id}`
  })
}

export function queryInstOrderInfo(data){
  return zrRequest.get({
    url: "detect/project/inst/list",
    data
  })
}

// 检测套餐详情
export function queryPackageDetail(id){
  return zrRequest.get({
    url: `detect/package/${id}`
  })
}

// 获取项目列表
export function queryProjectList(data){
  return zrRequest.get({
    url: 'detect/project/list',
    data,
  })
}

//获取inst 详情
export function queryInstDetailInfo(id){
  return zrRequest.get({
    url: `detect/project/inst/${id}`,
  })
}